package org.divineryang.service.impl;

import org.divineryang.mapper.ProductUnitMapper;
import org.divineryang.model.entity.base.ProductUnit;
import org.divineryang.service.ProductUnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program new-bee
 * @Description
 * @Author Diviner Yang
 * @Date 2024/04/27 13:20
 * @Version 1.0
 */
@Service
public class ProductUnitServiceIMpl implements ProductUnitService {

    @Autowired
    private ProductUnitMapper productUnitMapper;
    @Override
    public List<ProductUnit> findAll() {
        return productUnitMapper.findAll() ;
    }
}